<!--link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl.WWWROOT_BACKEND; ?>/css/form.css"/-->

<div class="wd-form">

<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'comment-form',
	//'enableAjaxValidation' => true,
  'htmlOptions'=>array('enctype'=>'multipart/form-data', 'class'=>'form-horizontal'),
));
?>
	<fieldset>

	<p class="note">
		<?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
	</p>
	<?php echo $form->errorSummary($model); ?>
		<div class="control-group">
			<?php echo $form->labelEx($model,'content', array('class'=>'control-label')); ?>
			<div class="controls">
				<?php echo $form->textArea($model, 'content', array('style'=>'width:600px; height:200px')); ?>
				<?php echo $form->error($model,'content'); ?>
			</div>
		</div>
		
		<!--div class="wd-input">
		<?php echo $form->labelEx($model,'created'); ?>
		<?php echo $form->textField($model, 'created'); ?>
		<?php echo $form->error($model,'created'); ?>
		</div><!-- wd-input -->
		
		
		<div class="control-group">
			<?php echo $form->labelEx($model,'status', array('class'=>'control-label')); ?>
			<div class="controls">
				<?php echo $form->checkBox($model, 'status'); ?>
				<?php echo $form->error($model,'status'); ?>
			</div>
		</div><!-- wd-input -->
		<div class="form-actions">
		<?php echo GxHtml::submitButton(Yii::t('app', 'Save'), array('class'=>'btn btn-primary')); ?>
		</div>
	</fieldset>

<?php
$this->endWidget();
?>
</div><!-- form -->